WooCommerce\Square\Framework\Plugin A

Total Complexity 74
Dependencies 9
Dependents 7
Total lines 819
Lines of code 241
Logical lines of code 124
Comment lines 379
Methods 44
Properties 13

Methods 44

Method Rating Maintainability Complexity Lines of code
add_system_status_php_information()
S
53 7 23
get_api_log_message()
S
63 7 8
plugin_action_links()
S
57 5 16
is_plugin_active()
S
57 4 16
load_textdomain()
S
67 3 6
log()
S
65 3 9
includes()
S
57 1 18
__construct()
S
58 1 18
load_translations()
S
73 2 6
get_plugin_path()
S
71 2 6
get_settings_link()
S
68 2 7
log_api_request()
S
69 2 6
add_api_request_logging()
S
72 2 5
get_reviews_url()
S
78 2 3
get_plugin_url()
S
71 2 6
get_framework_file()
S
82 1 3
get_framework_path()
S
79 1 3
get_admin_notice_handler()
S
82 1 3
get_sales_page_url()
S
82 1 3
get_support_url()
S
82 1 3
get_documentation_url()
S
82 1 3
get_general_configuration_url()
S
80 1 3
get_settings_url()
S
82 1 3
get_framework_assets_url()
S
79 1 3
get_version()
S
82 1 3
get_plugin_version_name()
S
82 1 3
get_lifecycle_handler()
S
82 1 3
get_message_handler()
S
82 1 3
init_admin_notice_handler()
S
80 1 3
load_plugin_textdomain()
S
78 1 3
__wakeup()
S
77 1 3
__clone()
S
77 1 3
is_plugin_settings()
S
82 1 3
add_hooks()
S
64 1 9
init_lifecycle_handler()
S
80 1 3
init_admin_message_handler()
S
80 1 3
load_framework_textdomain()
S
78 1 3
get_plugin_file()
S
74 1 4
get_file()
S
100 1 0
init_dependencies()
S
79 1 3
get_id_dasherized()
S
79 1 3
get_plugin_name()
S
100 1 0
get_dependency_handler()
S
82 1 3
get_id()
S
82 1 3